//#include<stdio.h>
//int main()
//{
//	int a;
//	int b;
//	scanf_s("%d,%d",&a,&b);
//	printf("%d %d", a, b);
//
//
//	return 0;
//
//}
#include<iostream>
using namespace std;
int main()
{
	char a[20] = "auto567", * p = a, * p1;
	for (; *p; p++);
	for (p1 = p - 1; p1 >= a; p++, p1 -= 2)
		*p = *p1;
	*p = 0;
	cout << a << endl;
	int s[][3] = {10, 20, 30, 40, 50, 60};
	int(*q)[3] = s;
	cout << q[0][0] << "," << *(q[0] + 1) << "," << (*q)[1] << '\n';
	cout << *s[0] + 1 << "," << *(*s + 1) << "," << *(s[0] + 1);



	return 0;
}



